/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package battleship.board;

/**
 *
 * @author ali
 */
public class CannotPlaceShipException extends Exception {

    String hint = "Can not place ship on the given location";
    public CannotPlaceShipException() {
    }

    public CannotPlaceShipException(String hint) {
        this.hint = hint;
    }
    @Override
    public String toString(){
        return hint;
    }
}
